<!--
  ~ /*
  ~  * Licensed under the Apache License, Version 2.0 (the "License");
  ~  * you may not use this file except in compliance with the License.
  ~  * You may obtain a copy of the License at
  ~  *
  ~  *      http://www.apache.org/licenses/LICENSE-2.0
  ~  *
  ~  * Unless required by applicable law or agreed to in writing, software
  ~  * distributed under the License is distributed on an "AS IS" BASIS,
  ~  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~  * See the License for the specific language governing permissions and
  ~  * limitations under the License.
  ~  */
  -->
<div class="ddp-box-part" *ngIf="isShow">
  <div class="ddp-box-title">
    {{'msg.lineage.ui.list.search.column' | translate}}
    <em class="ddp-icon-essential"></em>
  </div>
  <!-- select box -->
  <edit-rule-field-combo [isMulti]="true"
                         [fields]="fields"
                         [selected]="selectedFields"
                         [tabIndex]="2"
                         (onChange)="changeFields($event)">
  </edit-rule-field-combo>
  <!-- //select box -->
</div>
<!--//part-->

<!--part-->
<div class="ddp-box-part" *ngIf="isShow">
  <div class="ddp-box-title">
    {{'msg.comm.th.type' | translate}}<em class="ddp-icon-essential"></em>
  </div>
  <!-- select box -->
  <prep-select-box
    [array]="nestList"
    (onSelected)="selectItem($event)"
    [defaultIndex]="defaultIndex">
  </prep-select-box>
  <!-- //select box -->
</div>
<!--//part-->

<!-- part -->
<div class="ddp-box-part" *ngIf="isShow">
  <div class="ddp-box-title">
    {{'msg.dp.th.new-column-name' | translate}}<em class="ddp-icon-essential"></em>
  </div>
  <div class="ddp-wrap-datainput">
    <input #newColName tabindex="4"
           class="ddp-input-typebasic"
           [(ngModel)]="inputValue"
           placeholder="{{'msg.dp.th.new-column-name.ph' | translate}}">
  </div>
</div>
